<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户编辑</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layuiadmin/layui/css/layui.css" media="all">
    <style type="text/css">
        .uploadImg {
            border: none;
            width: 150px;
            display: block;
            margin-top: 10px;
        }
    </style>
</head>
<body>
<form class="layui-form" lay-filter="layuiadmin-form-role" id="layuiadmin-form-role" style="padding: 20px 30px 0 0;" οnkeydοwn="if(event.keyCode==13){return false;}">
    <div class="layui-form-item">
        <label class="layui-form-label">微信ID</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" value="{$userInfo['usr_openid']}" readonly>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户昵称</label>
        <div class="layui-input-block">
            <input type="text" name="usr_nickname" value="{$userInfo['usr_nickname']}"  class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">微信头像</label>
        <div class="layui-input-block">
            <div class="layui-upload">
                <img id="demo1" class="uploadImg" src="{$userInfo['usr_pic']}">
            </div>
        </div>
    </div>
</form>

</body>
</html>
